﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MDI多文档处理
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //Form3 fm3 = new Form3(this.textBox1.Text,this.textBox2.Text, this.textBox3.Text);
            Form3 fm3 = new Form3();
            fm3.Name1 = textBox1.Text;
            fm3.Nicheng = textBox3.Text;

            fm3.MdiParent = this.MdiParent;
            this.Hide();
            fm3.Show();
           // this.Show();
        }
    }
}
